<h1>Please login</h1>
<% form_tag :action => "login" do %>
  <p> Login <%= text_field_tag :login %> </p>
  <p> Password <%= password_field_tag :password %> </p>
  <%= submit_tag "Login" %>
<% end %>

<!-- Logout part -->
<h1> or <%= link_to "Logout", :action=>"logout" %> </h1>

